/*
 * 
 * LegendShop 多用户商城系统
 * 
 *  版权所有,并保留所有权利。
 * 
 */
package com.legendshop.oa.model;
import java.util.Date;

import com.legendshop.dao.persistence.Column;
import com.legendshop.dao.persistence.Entity;
import com.legendshop.dao.persistence.GeneratedValue;
import com.legendshop.dao.persistence.GenerationType;
import com.legendshop.dao.persistence.Id;
import com.legendshop.dao.persistence.Table;
import com.legendshop.dao.persistence.TableGenerator;
import com.legendshop.dao.support.GenericEntity;

/**
 *
 */
@Entity
@Table(name = "ls_customer_follow")
public class CustomerFollow implements GenericEntity<Long> {

	private static final long serialVersionUID = -4336150789703208680L;

	/** 主键 */
	private Long id; 
		
	/** 客户ID */
	private Long customerId; 
		
	/** 跟进人(user_id) */
	private Long userId; 
		
	/** 跟进方式 */
	private Long follwMode; 
		
	/** 跟进时间 */
	private Date followTime; 
		
	/** 备注 */
	private String remark; 
		
	/** 创建时间 */
	private Date createTime; 
		
	
	public CustomerFollow() {
    }
		
	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.TABLE, generator = "generator")
	@TableGenerator(name = "generator", pkColumnValue = "CUSTOMER_FOLLOW_SEQ")
	public Long  getId(){
		return id;
	} 
		
	public void setId(Long id){
			this.id = id;
		}
		
    @Column(name = "customer_id")
	public Long  getCustomerId(){
		return customerId;
	} 
		
	public void setCustomerId(Long customerId){
			this.customerId = customerId;
		}
		
    @Column(name = "user_id")
	public Long  getUserId(){
		return userId;
	} 
		
	public void setUserId(Long userId){
			this.userId = userId;
		}
		
    @Column(name = "follw_mode")
	public Long  getFollwMode(){
		return follwMode;
	} 
		
	public void setFollwMode(Long follwMode){
			this.follwMode = follwMode;
		}
		
    @Column(name = "follow_time")
	public Date  getFollowTime(){
		return followTime;
	} 
		
	public void setFollowTime(Date followTime){
			this.followTime = followTime;
		}
		
    @Column(name = "remark")
	public String  getRemark(){
		return remark;
	} 
		
	public void setRemark(String remark){
			this.remark = remark;
		}
		
    @Column(name = "create_time")
	public Date  getCreateTime(){
		return createTime;
	} 
		
	public void setCreateTime(Date createTime){
			this.createTime = createTime;
		}
	


} 
